export type UserRole = 'guest' | 'user' | 'premium' | 'admin'

export interface User {
  id: string
  username: string
  email: string
  role: UserRole
  createdAt: Date
  lastLoginAt?: Date
  isActive: boolean
}

export interface UserProfile {
  id: string
  username: string
  email: string
  avatar?: string
  bio?: string
  preferences: {
    theme: 'light' | 'dark' | 'auto'
    language: string
    notifications: boolean
  }
  createdAt: Date
  updatedAt: Date
}

export interface UserStats {
  totalTasks: number
  completedTasks: number
  failedTasks: number
  totalProcessingTime: number
  storageUsed: number
  storageLimit: number
  lastActivity: Date
}